package com.peas.platform.module.icims.budget.apply.controller.vo;

import java.util.*;
import java.math.*;
import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("一上预算政府采购")
public class BudgetOnePurchaseVo extends BaseVo {

    //（一上预算表）外键
    @ApiModelProperty(value = "一上预算表ID")
    private Long budgetOneId;

    @ApiModelProperty(value = "采购项目")
    @Size(max = 200, message = "采购项目不能超过200个字符")
    private String purchaseItem;

    @ApiModelProperty(value = "采购品目")
    @Size(max = 200, message = "采购品目不能超过200个字符")
    private String purchaseKind;

    @ApiModelProperty(value = "采购需求概况")
    @Size(max = 200, message = "采购需求概况不能超过200个字符")
    private String purchaseRequire;

    @ApiModelProperty(value = "预计采购时间")
    private Date purchaseDate;

    @ApiModelProperty(value = "资金性质")
    @Size(max = 200, message = "资金性质不能超过200个字符")
    private String purchaseAttr;

    @ApiModelProperty(value = "采购金额")
    private BigDecimal purchaseFund;

    @ApiModelProperty(value = "单价")
    private BigDecimal purchasePrice;

    @ApiModelProperty(value = "采购数量")
    private BigDecimal purchaseNum;

    @ApiModelProperty(value = "计量单位")
    @Size(max = 20, message = "计量单位不能超过20个字符")
    private String purchaseUnit;

    @ApiModelProperty(value = "专项资金名称")
    @Size(max = 200, message = "专项资金名称不能超过200个字符")
    private String fundName;

    @ApiModelProperty(value = "资金来源")
    @Size(max = 200, message = "资金来源不能超过200个字符")
    private String fundSource;

}
